<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<script type="text/javascript">
		window.onload = function(){
			var student = {
					"name" : "liu",
					"age" : 23,
					"gender" : "女"
			}
			console.log(student);
			console.log(student.age);
			
			
			var list = [
				{
					"id" : 22,
					"name" : "马柳",
					"age" : 22,
					"gender": "男"
					
				}            
				,
				{
					"id" : 212,
					"name" : "马liu柳",
					"age" : 21,
					"gender": "男",
					"times": [
					          {"name" : "王者","age" : "3年"},
					          {"name" : "王者","age" : "5年"},
					         ]
				}  
				
			];
			console.log(list[0].name);
			console.log(list[1].age);
			console.log(listt[1].times[0].name);
		}
	</script>
</body>
</html>